ComponentOne Bitmap for WPF
Create(RenderTarget,GradientStop[],Gamma) Method

C1.WPF.DX.4 Assembly > C1.Util.DX.Direct2D Namespace > GradientStopCollection Class > Create Method : Create(RenderTarget,GradientStop[],Gamma) Method
an instance of RenderTarget
A pointer to an array of D2D1_GRADIENT_STOP structures.
The space in which color interpolation between the gradient stops is performed.
Creates an GradientStopCollection from the specified gradient stops, color interpolation gamma, and ExtendMode.Clamp.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal renderTarget As RenderTarget, _
   ByVal gradientStops() As GradientStop, _
   ByVal colorInterpolationGamma As Gamma _
) As GradientStopCollection

Parameters

renderTarget
an instance of RenderTarget
gradientStops
A pointer to an array of D2D1_GRADIENT_STOP structures.
colorInterpolationGamma
The space in which color interpolation between the gradient stops is performed.
See Also

Reference

GradientStopCollection Class
GradientStopCollection Members
Overload List